package com.PQLoad{
	public class LoadCache{
		static public var self:LoadCache=new LoadCache();
		public var cacheList:Object;
		public function LoadCache(){
			cacheList={};
		}
		public function hasCache(url:String):Boolean{
			if(cacheList[url])return true;
			return false;
		}
		public function addCache(url:String,obj:Object):void{
			cacheList[url]=obj;
		}
		public function getCache(url:String):Object{
			return cacheList[url];
		}
		public function removeCache(url:String):void{
			cacheList[url]=null;
		}
		public function clear():void{
			cacheList={};
		}
	}
}